package com.xuan.webfinally.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 边坡裂缝传感器监测数据表
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_crack_data")
@ApiModel(value="SlopeCrackData对象", description="边坡裂缝传感器监测数据表")
public class SlopeCrackData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "逻辑主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "设备SN")
    @TableField("device_sn")
    private String deviceSn;

    @ApiModelProperty(value = "裂缝累计变化量（单位毫米）")
    @TableField("crack_change")
    private Double crackChange;

    @ApiModelProperty(value = "x轴方向倾斜角度")
    @TableField("x_tilt_angle")
    private Double xTiltAngle;

    @ApiModelProperty(value = "y轴方向倾斜角度")
    @TableField("y_tilt_angle")
    private Double yTiltAngle;

    @ApiModelProperty(value = "z轴方向倾斜角度")
    @TableField("z_tilt_angle")
    private Double zTiltAngle;

    @ApiModelProperty(value = "xy倾斜角度")
    @TableField("xy_tilt_angle")
    private Double xyTiltAngle;

    @ApiModelProperty(value = "方位角")
    @TableField("azimuth")
    private Double azimuth;

    @ApiModelProperty(value = "x轴方向加速度及瞬间冲击加速度")
    @TableField("x_acceleration")
    private Double xAcceleration;

    @ApiModelProperty(value = "y轴方向加速度及瞬间冲击加速度")
    @TableField("y_acceleration")
    private Double yAcceleration;

    @ApiModelProperty(value = "z轴方向加速度及瞬间冲击加速度")
    @TableField("z_acceleration")
    private Double zAcceleration;

    @ApiModelProperty(value = "部门ID")
    @TableField("dept_id")
    private Long deptId;

    @ApiModelProperty(value = "采集时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
